package com.lwz.chain;

import com.lwz.chain.handlers.DeptHandler;
import com.lwz.chain.handlers.GeneralHandler;
import com.lwz.chain.handlers.ProjectHandler;

public class Client {

	public static void main(String[] args) {
		
		GeneralHandler generalHandler = new GeneralHandler();
		DeptHandler deptHandler = new DeptHandler(generalHandler);
		ProjectHandler projectHandler = new ProjectHandler(deptHandler);
        
		projectHandler.requestSuccessor("123", 600);
	}

}
